$(function () {
	// None of the options are set
	if (jQuery().smoothDivScroll){
		$("div.gallery").smoothDivScroll({
			mousewheelScrolling: true,
			manualContinuousScrolling: true,
			visibleHotSpotBackgrounds: "always"
		});
	}

	$('.head_slogan.slides').slides({
		preload: true,
		preloadImage: base_url+'application/images/loader.gif',
		play: 3800,
		pause: 1000,
		slideSpeed: 1000,
		hoverPause: false,
		generatePagination:false
	});


	$("body").css("height", "200px");
	setTimeout(function(){
		$("body").css("height", "200px");
	}, 200);
});

$(window).load(function() {
	$("body").css("height", "200px");

	$(".categorias .gallery").css("overflow", "inherit");	
	$(".row-fluid .gallery.span12").css("overflow", "inherit");	
});